<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>table</title>
	<style>
		table,tr,td {
			border: 1px solid red;
			border-collapse: collapse;
		}
		table {
			margin: 30px auto;
			width: 666px;
			height: 555px;
		}
		#aaa {
			 
				
			white-space:nowrap;  
			overflow:hidden;  
			word-break:keep-all;
			width: 68px;  
			
		}
	</style>
</head>
<body>
 <script>
 var arr = [1,3,5];
 var lsArr = JSON.stringify(arr);
 localStorage.setItem('arr',lsArr);
 var getStrArr = localStorage.getItem('arr');
 var getArr = JSON.parse(getStrArr);
 console.log(getArr[2]);


 </script>
</body>
</html>